-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Cast exception test cases #1911
JSON Cast exception test cases #1911
Conversation
@lonnieezell @jim-parry, I am trying to write the test case for the private method castAsJson() of Entity Class.
At the time of build, I am getting error like,
Could you please help me out with this. So I will be able to generate test scenarios. |
It looks like you are trying to json_decode a JSON string and expecting that to trigger an exception. That doesn't sound right. |
Thanks. It is working. |
Yes, it is reasonable. |
I have tried but the system is not able to configure XDebug. I have tried many times but no success. |
W.r.t #512 Adding test scenarios to increase the coverage of Cast Exception
WIP JSON Cast exception test cases.
Checklist: